home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
tegl_c.exe
/
lha
/
SAMPROGS.ZIP
/
CARDTST.C
< prev
next >
Wrap
Text File
|
1990-06-29
|
867b
|
35 lines
/*---------------------------------------------------------------------------*
| TEGL Windows ToolKit II |
| Copyright (C) 1990, TEGL Systems Corporation |
| All Rights Reserved. |
*---------------------------------------------------------------------------*/
/*
Before you can compile and run this program, you are required to generate
the cardtst.con (constant) file from cardtst.def using the ICONEDIT program.
*/
#include <dos.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <graphics.h>
#include "teglsys.h"
#include "cardtst.con"
void main()
{
unsigned x, y;
setvideochoices(TG_VGA,FALSE);
easytegl();
x = 100;
y = 100;
pushimage(x,y,x+92,y+102);
shadowbox(x,y,x+92,y+102);
putpict(x+1,y+1,imageCARDTST,BLACK);
teglsupervisor();
}